Integrand size = 21, antiderivative size = 61 \[ \int \frac {\cos ^3(c+d x)}{a+b \sin (c+d x)} \, dx=-\frac {\left (a^2-b^2\right ) \log (a+b \sin (c+d x))}{b^3 d}+\frac {a \sin (c+d x)}{b^2 d}-\frac {\sin ^2(c+d x)}{2 b d} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2747, 711} \[ \int \frac {\cos ^3(c+d x)}{a+b \sin (c+d x)} \, dx=-\frac {\left (a^2-b^2\right ) \log (a+b \sin (c+d x))}{b^3 d}+\frac {a \sin (c+d x)}{b^2 d}-\frac {\sin ^2(c+d x)}{2 b d} \]
[In]
[Out]
Rule 711
Rule 2747
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {b^2-x^2}{a+x} \, dx,x,b \sin (c+d x)\right )}{b^3 d} \\ & = \frac {\text {Subst}\left (\int \left (a-x+\frac {-a^2+b^2}{a+x}\right ) \, dx,x,b \sin (c+d x)\right )}{b^3 d} \\ & = -\frac {\left (a^2-b^2\right ) \log (a+b \sin (c+d x))}{b^3 d}+\frac {a \sin (c+d x)}{b^2 d}-\frac {\sin ^2(c+d x)}{2 b d} \\ \end{align*}
Time = 0.06 (sec) , antiderivative size = 54, normalized size of antiderivative = 0.89 \[ \int \frac {\cos ^3(c+d x)}{a+b \sin (c+d x)} \, dx=\frac {-\left (\left (a^2-b^2\right ) \log (a+b \sin (c+d x))\right )+a b \sin (c+d x)-\frac {1}{2} b^2 \sin ^2(c+d x)}{b^3 d} \]
[In]
[Out]
Time = 0.21 (sec) , antiderivative size = 54, normalized size of antiderivative = 0.89
method | result | size |
derivativedivides | \(\frac {\frac {-\frac {\left (\sin ^{2}\left (d x +c \right )\right ) b}{2}+a \sin \left (d x +c \right )}{b^{2}}+\frac {\left (-a^{2}+b^{2}\right ) \ln \left (a +b \sin \left (d x +c \right )\right )}{b^{3}}}{d}\) | \(54\) |
default | \(\frac {\frac {-\frac {\left (\sin ^{2}\left (d x +c \right )\right ) b}{2}+a \sin \left (d x +c \right )}{b^{2}}+\frac {\left (-a^{2}+b^{2}\right ) \ln \left (a +b \sin \left (d x +c \right )\right )}{b^{3}}}{d}\) | \(54\) |
parallelrisch | \(\frac {4 \sin \left (d x +c \right ) a b +4 \ln \left (\sec ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a^{2}-4 \ln \left (\sec ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b^{2}-4 \ln \left (2 b \tan \left (\frac {d x}{2}+\frac {c}{2}\right )+a \left (\sec ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )\right ) a^{2}+4 \ln \left (2 b \tan \left (\frac {d x}{2}+\frac {c}{2}\right )+a \left (\sec ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )\right ) b^{2}+b^{2} \cos \left (2 d x +2 c \right )-b^{2}}{4 b^{3} d}\) | \(136\) |
risch | \(\frac {i x \,a^{2}}{b^{3}}-\frac {i x}{b}+\frac {{\mathrm e}^{2 i \left (d x +c \right )}}{8 b d}-\frac {i a \,{\mathrm e}^{i \left (d x +c \right )}}{2 b^{2} d}+\frac {i a \,{\mathrm e}^{-i \left (d x +c \right )}}{2 b^{2} d}+\frac {{\mathrm e}^{-2 i \left (d x +c \right )}}{8 b d}+\frac {2 i a^{2} c}{b^{3} d}-\frac {2 i c}{b d}-\frac {\ln \left ({\mathrm e}^{2 i \left (d x +c \right )}+\frac {2 i a \,{\mathrm e}^{i \left (d x +c \right )}}{b}-1\right ) a^{2}}{b^{3} d}+\frac {\ln \left ({\mathrm e}^{2 i \left (d x +c \right )}+\frac {2 i a \,{\mathrm e}^{i \left (d x +c \right )}}{b}-1\right )}{b d}\) | \(188\) |
norman | \(\frac {-\frac {2 \left (\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{b d}-\frac {2 \left (\tan ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{b d}+\frac {2 a \tan \left (\frac {d x}{2}+\frac {c}{2}\right )}{b^{2} d}+\frac {4 a \left (\tan ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{b^{2} d}+\frac {2 a \left (\tan ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{b^{2} d}}{\left (1+\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )^{3}}+\frac {\left (a^{2}-b^{2}\right ) \ln \left (1+\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{b^{3} d}-\frac {\left (a^{2}-b^{2}\right ) \ln \left (a \left (\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+2 b \tan \left (\frac {d x}{2}+\frac {c}{2}\right )+a \right )}{b^{3} d}\) | \(190\) |
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 53, normalized size of antiderivative = 0.87 \[ \int \frac {\cos ^3(c+d x)}{a+b \sin (c+d x)} \, dx=\frac {b^{2} \cos \left (d x + c\right )^{2} + 2 \, a b \sin \left (d x + c\right ) - 2 \, {\left (a^{2} - b^{2}\right )} \log \left (b \sin \left (d x + c\right ) + a\right )}{2 \, b^{3} d} \]
[In]
[Out]
Timed out. \[ \int \frac {\cos ^3(c+d x)}{a+b \sin (c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
none
Time = 0.20 (sec) , antiderivative size = 55, normalized size of antiderivative = 0.90 \[ \int \frac {\cos ^3(c+d x)}{a+b \sin (c+d x)} \, dx=-\frac {\frac {b \sin \left (d x + c\right )^{2} - 2 \, a \sin \left (d x + c\right )}{b^{2}} + \frac {2 \, {\left (a^{2} - b^{2}\right )} \log \left (b \sin \left (d x + c\right ) + a\right )}{b^{3}}}{2 \, d} \]
[In]
[Out]
none
Time = 0.35 (sec) , antiderivative size = 56, normalized size of antiderivative = 0.92 \[ \int \frac {\cos ^3(c+d x)}{a+b \sin (c+d x)} \, dx=-\frac {\frac {b \sin \left (d x + c\right )^{2} - 2 \, a \sin \left (d x + c\right )}{b^{2}} + \frac {2 \, {\left (a^{2} - b^{2}\right )} \log \left ({\left | b \sin \left (d x + c\right ) + a \right |}\right )}{b^{3}}}{2 \, d} \]
[In]
[Out]
Time = 0.10 (sec) , antiderivative size = 55, normalized size of antiderivative = 0.90 \[ \int \frac {\cos ^3(c+d x)}{a+b \sin (c+d x)} \, dx=-\frac {\frac {{\sin \left (c+d\,x\right )}^2}{2\,b}+\frac {\ln \left (a+b\,\sin \left (c+d\,x\right )\right )\,\left (a^2-b^2\right )}{b^3}-\frac {a\,\sin \left (c+d\,x\right )}{b^2}}{d} \]
[In]
[Out]